home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Linux Cubed Series 7: Sunsite
/
Linux Cubed Series 7 - Sunsite Vol 1.iso
/
system
/
serial
/
callback.001
/
callback~
/
callback
/
lib
/
parser
/
parsesetupfile.c
< prev
next >
Wrap
C/C++ Source or Header
|
1996-07-28
|
450b
|
21 lines
#include "parser.p"
#include "../../configure.h"
void parse_setupfile(void)
{
char
*setup;
if (!(yyin = fopen(setup = FIRSTSETUP, "r"))) /* open the setupfile */
if (!(yyin = fopen(setup = SECONDSETUP, "r"))) /* open the setupfile */
yyin = xfopen(setup = THIRDSETUP, "r"); /* open the setupfile */
setbase(setup);
yyparse();
if ((parse_errors)) /* or semantic errrors */
error("Syntax error(s) in %s", setup);
}